package com.anycl.design.behavioral.responsibility;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Middle extends Handler {

    public Middle() {
        super(Handler.DIFFICULTY_LEVEL_2_REQUEST);
    }

    @Override
    protected void response(IRequest request) {
        log.info("难度级别为2的请求");
        log.info(request.getRequest());
        log.info("中级工程师已经处理");
    }
}
